package 实验二;

public class Teacher0 {
    int id;
    String name;
    String sex;
    String lesson;
    public Teacher0(int a,String b,String c,String d){
        id =a;
        name = b;
        sex = c;
        lesson= d;
    }
    public String toString(){
        return"编号：" + id+" 姓名："+name +" 性别："+sex+" 课程:"+lesson;
    }
}
